
<div data-role="content" data-scroll="y">
<div data-iscroll="scroller">
<h3><?=$rows->fullname?></h3>
<h4><?php
if (isset($rows->username)):
echo '<i>'.$rows->username.'</i>';
endif;
?>
</h4>
<h4><?php
if($rows->gender==0) :
echo "Male"; 
else: 
echo "Female";
endif;
?>
</h4>

<h4><?php
if (isset($rows->location) and $rows->location!=NULL):
echo "Lives in ".$rows->location;
endif;
?>
</h4>
<h4>
<?php
if (isset($rows->birthdate) and $rows->birthdate!="0000-00-00"):
echo "was born in ".$rows->birthdate;
endif;
?>
</h4>
<h4><i>
<?php
if (isset($rows->language) and $rows->language!=NULL):
echo "speaks ".$rows->language;
endif;
?>
</i></h4>
<?php
if (isset($rows->interest) and $rows->interest!=NULL):
echo "<h4>Hobbies and Interests:</h4> <p>".$rows->interest."</p>";
endif;
?>



<?php
if (isset($rows->description) and $rows->description!=NULL):
echo "<h4>About Me:</h4> <p>".$rows->description."</p>";
endif;
?>





<?php if ($rows->userid==$this->session->userdata('userid')) :?>
<a href="<?=site_url('user_controller/to_edit_profile');?>" data-role="button">Edit My Profile</a>
<a href="<?=site_url('feed_controller/my_hello');?>" data-role="button">View My Hello</a>	
<?php endif;?>
<br><br>
</div>
</div>
